The scrollbar control.
Notes
Because this is a RectControl, see the RectControl for other properties and events that are common to all RectControl objects.
A Scrollbar can be either horizontal or vertical. To set its orientation programatically, set the height to be greater than the width for a vertical scrollbar. Set the width to be greater than the height for a horizontal scrollbar.
Examples
Changing the maximum value of a Scrollbar at runtime:
ScrollBar1.maximum=200
Setting the text of a StaticText control to the value of the Scrollbar when the user scrolls:
See also the discussion of scrolling ListBox controls horizontally using a Scrollbar control.
See Also
Slider control; RectControl class.
